package com.andy.blog.admin.dto.server;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by andy on 2023-04-15 10:27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CpuDTO implements Serializable {

    private static final long serialVersionUID = 3495710841428233495L;

    /**
     * 核心数
     */
    private int cpuNum;

    /**
     * CPU总的使用率
     */
    private double total;

    /**
     * CPU系统使用率
     */
    private String sys;

    /**
     * CPU用户使用率
     */
    private String used;

    /**
     * CPU当前等待率
     */
    private String wait;

    /**
     * CPU当前空闲率
     */
    private String free;
}
